SCPI and IEEE488.2 Common Commands

*CLS

Clears all event registers including the status byte, event status, and error queue.

Command

*CLS

*ESE

Sets the event status enable register that is counted by the event summary bit (ESB) of the status byte.

Command

*ESE <NR1>

*ESE?

Parameter

Value: 0 to 255
A SCPI error (-222, "Data out of range") occurs if outside the range.

(Example) When *ESE 16 is transmitted, bit 4 of the event status enable register is set. Each time the execution error bit (bit 4) of the event status register is set, the summary bit (ESB) of the status byte is set.

Response

Returns the value of the event status enable register in the NR1 form in response to *ESE?.

*ESR

Queries the event status register. This register is cleared when it is read.

Command

*ESR?

Response

Returns the value of the event status register in the NR1 form in response to *ESR? and clears the register.

*IDN

Queries the model name and firmware version of the PCR-M.

Command

*IDN?

Response

The response to *IDN? is indicated below.

(Example) For PCR500M, serial number: AB123456, and ROM version 1.00
Returns KIKUSUI,PCR500M,AB123456,1.00.

*OPC

Sets the OPC bit (bit 0) of the event status register when the processing of all commands standing by is complete.

See Section 12.5.3 in IEEE 488.2-1992

Command

*OPC

*OPC?

Response

Returns 1 when the processing of all commands standing by is complete in response to *OPC?.

*OPT

Queries the optional interface board that are installed in the PCR-M.

Command

*OPT?

Response

The response to *OPC? is indicated below.

(Example) When a GPIB interface board (IB21) is installed
Returns "GPIB."

(Example) When no options are installed
Returns 0.

*PSC

Sets whether to clear the event status enable register and the service request enable register when the power switch is turned on (power-on status).

See Section 10.25 in IEEE 488.2-1992

Command

*PSC <NR1>

*PSC?

Parameter

Value: 0 Does not clear the *ESE and *SRE settings when the power switch is turned on.
  1 Clears the *ESE and *SRE settings when the power switch is turned on.
  A SCPI error (-222, "Data out of range") occurs if outside the range.

(Example) To enable the power-on SRQ function
*PSC 0;*SRE 32;*ESE 128

Response

Returns the power-on status setting in response to *PSC?

*RCL

Aborts the measurement operation and reads the contents stored in memory.

For the commands that are affected, see Table 4.

When recalling a memory with the output turned on, a SCPI error (-102,"Operation denied while in OUTPut ON state") occurs if the output mode or voltage range switches.

Command

*RCL <NR1>

Parameter

Value: 1 Memory A
  2 Memory B
  3 Memory C
  4 to 10 When the optional board is installed
  A SCPI error (-222, "Data out of range") occurs if outside the range.

*RST

Aborts the measurement operation and initializes the PCR-M to factory default condition. However, memory contents and config settings are not initialized.

For the commands that are affected, see Table 4.

Command

*RST

*SAV

Stores the current PCR-M settings to memory. The settings that are stored are the same as those recalled using the *RCL command.

Command

*SAV <NR1>

Value: 1 Memory A
  2 Memory B
  3 Memory C
  4 to 10 When the optional board is installed
  A SCPI error (-222, "Data out of range") occurs if outside the range.

*SRE

Sets the service request enable register.

The service request enable register is used to select the summary messages in the status byte register that will be able to perform service requests.

To clear the service request enable register, send *SRE 0. If the register is cleared, service requests cannot be generated by status information.

Command

*SRE <NR1>

*SRE?

Parameter

Value: 0 to 255  
  A SCPI error (-222, "Data out of range") occurs if outside the range.

(Example) Sending *SRE 8 sets bit 3 of the service request enable register. Each time the summary bit (bit 3) of the QUEStionable status register in the status byte is set, a service request message is generated.

Response

Returns the value of the service request enable register in the NR1 form in response to *SRE?.

*STB

Queries the contents of the status byte register and the MSS (master summary status) message.

The response is the same as serial poll only with the exception that the MSS message appears in place of the RQS message in bit 6.

Command

*STB?

Response

Returns the value of the status byte register and the MSS message (bit 6) in NR1 form in response to *STB?.

*TRG

Trigger command.

This is a substitute command for the IEEE488.1 get message (Group Execute Trigger).

See Section 10.37 in IEEE 488.2-1992

Command

*TRG

*TST

Executes a self-test. Use SYST:ERR? to query the errors that occurred.

See Section 10.38 in IEEE 488.2-1992

Command

TST?

Response

Returns 0 if there are no errors in response to *TST?. Returns the error code, if there are errors.

*WAI

Prevents the PCR-M from executing subsequent commands until all operations in standby are complete.

Command

*WAI